package com.ocom.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class GetFlowPushByLineVo implements Serializable {

    @JsonProperty("pName")
    private String pName;

    private String deptName;

    private String flowName;

    private String approverName;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date applyTime;

    private Long comId;

    private Long businessId;
    private List<PushInfo> pushList;
    @Data
    public static class PushInfo{
        private String pushName;

//        private String content;

        private String phone;

        @JsonProperty("id")
        private String id;

        private String openid;
    }
}
